﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace TruckWatch.Cloud.Models
{
    public class TripStatusNEF
    {
        public int Id { get; set; }
        public int TripId { get; set; }
        public DateTime StatusDate { get; set; }
        [Required(ErrorMessage = "Status Message is required")]
        public string StatusMessage { get; set; }
        /// <summary>
        /// Examples: MechanicalProblems, Traffic, Other
        /// </summary>
        public string StatusReason { get; set; }
        public int DriverId { get; set; }
    }
}